import { createRouter, createWebHashHistory } from "vue-router"

const routes = [
  {
    path: '/',
    redirect: '/gis',
  },
  {
    path: '/gis',
    name: 'GIS',
    meta: {
      title: '地图'
    },
    component: () => import('@/views/gis/index.vue')
  }
]

export default createRouter({
  routes,
  history: createWebHashHistory(import.meta.env.VITE_BASE_URL)
})
